Fractional type phase-locked loop circuit with compensation of phase errors

ABSTRACT

A fractional-type phase-locked loop circuit is proposed for synthesising an output signal multiplying a frequency of a reference signal by a fractional conversion factor, the circuit including means for generating a modulation value, means for generating a feedback signal dividing the frequency of the output signal by a dividing ratio, the dividing ratio being modulated according to the modulation value for providing the conversion factor on the average, means for generating a control signal indicative of a phase difference between the reference signal and the feedback signal, means for controlling the frequency of the output signal according to the control signal, and means for compensating a phase error caused by the modulation of the dividing ratio; in the circuit of an embodiment of the invention, the means for compensating includes means for calculating an incremental value, indicative of an incremental phase error, according to the conversion factor and the modulation value, means for calculating a correction value accumulating the incremental value, and means for conditioning the control signal according to the correction value.

PRIORITY CLAIM

This application claims priority from European patent application No. 03425157.9, filed Mar. 14, 2003, which is incorporated herein by reference.

TECHNICAL FIELD

An embodiment of the present invention relates to a fractional-type Phase-Locked Loop (PLL) circuit.

BACKGROUND

A PLL is a common component of several frequency synthesis systems. The PLL consists of a negative feedback circuit that allows multiplication of the frequency of a reference signal by a selected conversion factor; this results in the generation of a tuneable and stable output signal with the desired frequency.

For this purpose, a frequency divider scales the frequency of the output signal by the conversion factor. The resulting signal is fed back to a phase comparator, which detects a phase difference between the feedback signal and the reference signal; the phase comparator outputs a control current indicative of the phase difference. A loop filter integrates the control current into a corresponding voltage, which controls the frequency of the output signal accordingly. In a lock condition, the frequency of the feedback signal matches the frequency of the reference signal; therefore, the frequency of the output signal will be equal to the reference frequency multiplied by the conversion factor.

A particular architecture (commonly referred to as fractional-N) has become increasingly popular in the last few years, especially in wireless communication applications working at high frequency. In a fractional PLL, the dividing ratio of the frequency divider changes dynamically in the lock condition, so as to provide an average conversion factor equal to a fractional number. This structure allows finer resolution of the output frequency; moreover, the fractional PLL exhibits improved performance in terms of both settling time and phase noise.

Typically, the fractional PLL includes an accumulator that sums an adjusting value (defining a fractional part of the conversion factor) to itself continually. While the content of the accumulator is lower then its capacity (equal to the maximum allowed adjusting value), the frequency of the output signal is divided by an integer part of the conversion factor; whenever the accumulator overflows, the dividing ratio is incremented by one unit.

A problem of the fractional PLLs is that the feedback signal and the reference signal are not instantaneously at the same frequency in the lock condition. The periodicity of this phase error involves spurious signals (or spurs) at low-frequency offsets from a carrier. However, the content of the accumulator represents the current phase error between the feedback signal and the reference signal. Therefore, it is possible to reduce the level of the above-mentioned spurs with a technique also known as phase interpolation. For this purpose, the content of the accumulator is properly scaled and converted into a corresponding current; this current is then used to condition the control current that is injected into the loop filter, in order to have a control voltage always zero in the lock condition.

Operation of the accumulator can also be seen as a modulation of the adjusting value. In fact, the accumulator converts the fractional part of the conversion factor into a sequence of bits; the bits take the value 1 when the accumulator overflows or the value 0 otherwise. Therefore, it is possible to replace the accumulator (working as a first-order modulator) with an equivalent component.

For example, alternative architectures of the fractional PLL are based on a second or higher order sigma-delta modulator or on a multi-bit modulator. In both cases, the pattern of the dividing ratio is better shaped; particularly, the power of the spurs is pushed to higher frequency where the loop filter is more effective.

However, in the proposed architectures the value of the phase error (between the feedback signal and the reference signal) is not available in any accumulator. Therefore, it is not possible to condition the control current directly, in order to compensate the effects of the phase error caused by the modulation of the dividing ratio.

SUMMARY

Briefly, an embodiment of the present invention provides a fractional-type phase-locked loop circuit for synthesising an output signal multiplying a frequency of a reference signal by a fractional conversion factor, the circuit including means for generating a modulation value, means for generating a feedback signal dividing the frequency of the output signal by a dividing ratio, the dividing ratio being modulated according to the modulation value for providing the conversion factor on the average, means for generating a control signal indicative of a phase difference between the reference signal and the feedback signal, means for controlling the frequency of the output signal according to the control signal, and means for compensating a phase error caused by the modulation of the dividing ratio, wherein the means for compensating includes means for calculating an incremental value, indicative of an incremental phase error, according to the conversion factor and the modulation value, means for calculating a correction value accumulating the incremental value, and means for conditioning the control signal according to the correction value.

Moreover, a corresponding synthesising method is also encompassed in an embodiment of the present invention.

BRIEF DESCRIPTON OF THE DRAWINGS

Further features and the advantages of the solution according to the present invention will be made clear by the following description of a preferred embodiment thereof, given purely by way of a non-restrictive indication, with reference to the attached figures, in which:

FIG. 1 a shows the functional blocks of a PLL according to an embodiment of the invention,

FIG. 1 b is a simplified time diagram describing operation of the PLL of FIG. 1 a according to an embodiment of the invention,

FIG. 2 is a schematic block diagram of a control logic of the PLL of FIG. 1 a according to an embodiment of the invention, and

FIG. 3 depicts a preferred implementation of a servo-DAC used in the PLL of FIG. 1 a according to an embodiment of the invention.

DETAILED DESCRIPTION

With reference in particular to FIG. 1 a, a digital PLL 100 of the fractional type is shown. The PLL 100 is used to synthesise an output signal Vo with a desired frequency Fo. The output signal Vo is obtained by multiplying a frequency Fr of a reference signal Vr by a selected conversion factor (consisting of a fractional number defining a channel of operation of the PLL 100); the reference signal Vr is typically generated by a quartz oscillator (not shown in the figure), which provides a stable and accurate time base.

For this purpose, the PLL 100 implements a feedback loop through a multi-modulus divider 105, which derives a signal Vb (having a frequency Fb) from the output signal Vo. The multi-modulus divider 105 is controlled by an integer taking a value x[n] at the n-th cycle of the signal Vb; the value x[n] is used to modulate a dividing ratio of the block 105 about a nominal value N, which represents an integer component of the conversion factor; The modulation value x[n] is provided by a modulator 110, usually of a sigma-delta (ΣΔ) type, which is clocked by the signal Vb. The sigma-delta modulator 110 receives as an input a further external signal K; the parameter K is an adjusting value consisting of an integer varying from 0 to a modulus M (with the value K/M that represents a fractional component of the conversion factor). The block 105 divides the frequency Fo of the output signal Vo by a dividing ratio N+x[n]. The signal Vb resulting from the division is fed back to a Phase Frequency Detector (PFD) 115.

The PFD 115 detects a phase difference between the feedback signal Vb and the reference signal Vr either lower than +/−2π radians or higher than +/−2π radians (commonly referred to as frequency difference). The PFD 115 outputs a phase-indicator up signal Su and a phase-indicator down signal Sd, which are used to control a charge pump 120. Typically, the charge pump 120 includes a high-side leg (referred to a power supply voltage +Vdd) and a low-side leg (referred to ground). The high-side leg consists of a current generator 121 h (providing a current Ih), which is connected in series to an electronic switch 122 h; likewise, the low-side leg consists of a current generator 121 l (providing a current II), which is connected in series to an electronic switch 122 l. The switch 122 h and the switch 122 l are controlled by the up-signal Su and by the down-signal Sd, respectively. The high-side leg and the low-side leg are connected to each other, and define an output node of the charge pump 120 that supplies a current Ip.

A control logic 125, which is clocked by the feedback signal Vb, receives the modulation value x[n] (from the sigma-delta modulator 110) and the adjusting value K. The control logic 125 outputs an (integer) correction value Nc. A servo Digital-to-Analog Converter (DAC) 130 (clocked by the reference signal Vr) converts the correction value Nc into a corresponding current Ic. The current Ic is used to condition the charge-pump current Ip; for this purpose, the conditioning current Ic is provided to the output node of the charge pump 120.

A resulting control current Ipc=Ip−Ic is injected into a loop filter 135. The loop filter 135 removes the high frequency components of the control current Ipc; the control current Ipc is then integrated into a corresponding voltage Vc every period of the reference signal Vr. The control voltage Vc drives a Voltage-Controlled Oscillator (VCO) 140, which provides the output signal Vo.

During operation of the PLL 100, the VCO 140 starts oscillating at a free-run frequency as a consequence of background noise in the circuit. The block 105 divides the frequency Fo of the output signal Vo by N+x[n]. The dividing ratio oscillates about the nominal value N according to the adjusting value K; in a fractional cycle consisting of M reference cycles (or a multiple thereof), the dividing ratio has an average value N*=N+K/M.

In an unlock condition (such as during an initial power up or immediately after a channel switching), the frequency Fb of the feedback signal Vb is different from the frequency Fr of the reference signal Vr. The up-signal Su is asserted upon detection of a raising edge of the reference signal Vr, in response thereto, the switch 122 h is closed and the current Ih is injected into the output node of the charge-pump 120. Likewise, the down-signal Sd is asserted upon detection of a raising edge of the feedback signal Vb; the switch 122 l is then closed and the current II is sunk from the output node of the charge-pump 120. The PFD 115 is reset after a short delay from the assertion of both the signals Su and Sd (in order to compensate a dead-zone of the charge pump 120); as a consequence, the switches 122 h, 122 l are opened so as to cut off the corresponding currents Ih,II. The charge-pump current Ip then consists of a series of pulses indicative of the phase difference between the signals Vb and Vr. Particularly, each pulse of the charge-pump current Ip has a width proportional to the module of the phase difference; the pulse is positive when the raising edge of the feedback signal Vb follows the raising edge of the reference signal Vr, or it is negative otherwise.

The corresponding control voltage Vc (disregarding the conditioning current k for the time being) updates the frequency Fo of the output signal Vo accordingly (every reference cycle). Particularly, when the feedback frequency Fb is lower than the reference frequency Fr, the control voltage Vc instructs the VCO 140 to increase the output frequency Fo; conversely, when the feedback frequency Fb is higher than the reference frequency Fr, the control voltage Vc instructs the VCO 140 to reduce the output frequency Fo.

Similar considerations apply to any phase difference between the feedback signal Vb and the reference signal Vr.

The PLL 100 locks when the average frequency of the feedback signal Vb matches the frequency Fr of the reference signal Vr. In this condition, the frequency Fo of the output signal Vo is thus equal to Fr*N* (on the average). Therefore, the PLL 100 delivers an output signal Vo with a frequency Fo having any desired value that is multiple of the frequency Fr of the reference signal Vr, according to the conversion factor N*=N+K/M.

However, in the lock condition the feedback signal Vb and the reference signal Vr are not instantaneously at the same frequency. Particularly, whenever the dividing ratio of the multi-modulus divider 105 is lower than the conversion factor N*, the frequency Fb of the feedback signal Vb will be higher than the frequency Fr of the reference signal Vr, therefore, their phase difference increases. Conversely, when the dividing ratio of the multi-modulus divider 105 is higher than the conversion factor N*, the frequency Fb of the feedback signal Vb will be lower than the frequency Fr of the reference signal Vr, therefore, their phase difference decreases.

The pattern of a phase error caused by the modulation of the dividing ratio (in the multi-modulus divider 105) has a periodicity equal to the fractional cycle. Therefore, this phase error involves spurious signals (or spurs) at low-frequency offsets from a carrier Vo; the spurs cannot be removed by the loop filter 135, since that would require a too-narrow loop bandwidth (with an intolerable increase in a settling time and in a phase noise of the PLL 100).

The use of the sigma-delta modulator 110 for generating the modulation value x[n] shapes the level of the above-mentioned spurs. In detail, the sigma-delta modulator 110 typically includes a truncator that performs a coarse quantization discarding the least significant bits of its input value. One or more digital filters integrate a quantization error, which is then added to the adjusting value K through a feedback loop. The resulting value is then provided to the truncator. Preferably, the sigma-delta modulator 110 is of a multi-bit type, wherein the modulation value x[n] is represented by two or more bits; for example, in a sigma-delta modulator 110 with a resolution of 2 bits, the modulation value x[n] can take any integer value in the range from −1 to +2.

The operations described above result in a stream of modulation values x[n] that represents the fractional channel K/M (over the fractional cycle). The sigma-delta modulator 110 spreads the power of the quantization error over a large band, so that its density in the band of operation of the PLL 100 is reduced. Moreover, each filter shapes the quantization error so that its spectrum is not uniform, thereby pushing the quantization error power out of the band of interest; the degree of shaping is defined by the number of filters (referred to as the order of the sigma-delta modulator 110). The shaping of the quantization error power is further improved when the sigma-delta modulator 110 is of the multi-bit type. In this way, the out-of-band components of the resulting phase error can be removed by the loop-filter 135.

However, in the above-described architecture the current value of the phase error (between the feedback signal Vb and the reference signal Vr) is not available in the sigma-delta modulator 110; apparently, it is then not possible to implement a phase interpolation technique known in the art, in order to compensate the effects of the phase error (as in PLLs including a standard accumulator).

An embodiment of the present invention is based on the intuition that a similar compensation technique can also be applied to different architectures of the PLL, wherein the value of the phase error is not available in any accumulator. The inventors have discovered that an incremental value of the phase error can be predicted (at any reference cycle), according to the current modulation value x[n] and the parameters defining the selected conversion factor (for example, the nominal value N, the adjusting value K and the modulus M).

In detail, it is possible to demonstrate that when the modulation value x[n] is zero (and then the dividing ratio is N), the multi-modulus divider 105 introduces an incremental phase error equal to

$2\pi \frac{K}{{MN} + K}$

radians; the modulation of the dividing ratio by the sigma-delta modulator 110 (through the modulation value x[n]) subtracts

$2\pi \frac{{Mx}\lbrack n\rbrack}{{MN} + K}$

radians from the incremental phase error. Therefore, a phase error Δφ[n] at the n-th reference cycle can be calculated from the phase error Δφ[n−1] at the preceding reference cycle according to the following formula:

${{\Delta\varphi}\lbrack n\rbrack} = {{{\Delta\varphi}\left\lbrack {n - 1} \right\rbrack} + {2{\pi \left( \frac{K - {{Mx}\lbrack n\rbrack}}{{MN} + K} \right)}}}$

Considering that the adjusting value K is negligible with respect to the product MN (for example, K varies from 0 to M=16 and N=1,000), the formula can be approximated by:

${{\Delta\varphi}\lbrack n\rbrack} = {{{\Delta\varphi}\left\lbrack {n - 1} \right\rbrack} + {2{\pi \left( \frac{K - {{Mx}\lbrack n\rbrack}}{MN} \right)}}}$

Every reference cycle, the control logic 125 calculates the correction value Nc (either positive or negative), which represents the phase error defined by the above-mentioned formula (properly scaled). The correction value Nc is converted into the corresponding current Ic, which conditions the charge-pump current Ip accordingly.

Particularly, as shown in the simplified time diagram of FIG. 1 b, the phase error between the feedback signal Vb and the reference signal Vr results in a series of pulses of the charge-pump current Ip; each pulse has a width proportional to the phase error (with a constant amplitude). The conditioning current Ic consists of a series of pulses, which are generated in response to the raising edges of the reference signal Vr. Each pulse has a constant width, usually correlated to the period of the reference signal Vr (for example, equal to half a period of the reference signal Vr); conversely, the amplitude of the pulse corresponds to the correction value Nc (with the pulse that is positive or negative according to the sign of the correction value Nc). In an ideal situation, in the lock condition shown in the figure, the area of each pulse of the conditioning current k is the same as the area of the corresponding pulse of the charge-pump current Ip; as a consequence, the control current Ipc injected into the loop filter every reference cycle is zero (i.e., the positive area is the same as the negative area).

However, the concepts of an embodiment of the present invention are also applicable when the PLL has another structure or includes equivalent elements; for example, the PFD can be replaced with a mixer or XOR-gates, or the positions of the current generators and of the switches in every leg of the charge pump can be reversed. Similar considerations apply if the PLL works with different operative parameters, if equivalent signals are envisaged, or if the pulses of the conditioning current have a different width or are generated in another way (for example, in response to the raising edges of the feedback signal). Alternatively, the sigma-delta modulator is of a higher order, it has a different resolution, or it is replaced with a generic multi-bit modulator (implementing a plurality of internal loops, so that the current value of the phase error is not available in any accumulator).

A proposed structure of the control logic 125 that implements the above-described formula is shown in FIG. 2. Particularly, the control logic 125 includes a multiplier 305 operating on the modulation value x[n] and the modulus M; the multiplier 305 is typically implemented with a shifter, which moves the bits representing the modulation value x[n] a number of positions corresponding to the bits of the modulus M. For example, when the modulus M is 2⁴=16, the modulation value x[n] is shifted 4 positions. An adder 310 subtracts the value Mx[n] (output by the shifter 305) from the adjusting value K. A resulting incremental value K−Mx[n] is provided to a first input of an accumulator 315; a second input of the accumulator 315 is directly connected to its output. A block 320 scales the content of the accumulator 315

$\left( {\sum\limits_{n}\left( {K - {{Mx}\lbrack n\rbrack}} \right)} \right)$

according to the value MN. The scaler 320 directly provides the correction value Nc to the servo-DAC; the correction value Nc is represented by a signed binary code having a pre-defined number of bits (for example, 1 bit for the sign and 4 bits for the module).

However, the concepts of an embodiment of the present invention are also applicable when the control logic has another architecture or includes equivalent components. Similar considerations apply if the correction value is always positive or negative (according to the implementation of the modulator), or if the correction value has a different resolution (down to a single bit). Alternatively, the same function of the scaler is performed by the servo-DAC (properly setting its full-scale current).

A further problem that adversely affects operation of the PLL is the non-linearity of the servo-DAC. In fact, the inherent imprecision of the technological processes used to implement the servo-DAC involves an error in the currents assigned to each bit of the correction value Nc. The non-linearity of the servo-DAC causes a folding of the spurs; this results in an increment of their power near the carrier (where the loop-filter is less effective).

In order to overcome the above-mentioned drawbacks, an embodiment of the present invention further proposes different solutions for reducing the effects of the non-linearity in the servo-DAC.

With reference in particular to FIG. 3, the servo-DAC 130 includes a decoder 405 receiving the correction value Nc. The decoder 405 converts the binary representation of the correction value Nc into a thermometric code. The thermometric representation of the correction value Nc consists of a number of bits equal to its maximum absolute value (16 in the example at issue); the thermometric bits are of even weight, and each one corresponds to a possible level of the correction value Nc. The correction value Nc is represented setting to 1 all the thermometric bits up to the one corresponding to its module. For example, the correction value Nc=±9 is represented by the thermometric bits 0000000111111111.

If the correction value Nc is positive, the thermometric bits representing its module (denoted with p_(o)-p₁₅) are provided to a scrambler 410 p. The scrambler 410 p has an input terminal for each thermometric bit p_(o)-p₁₅, and an equal number of output terminals each one providing a corresponding scrambled bit sp₀-sp₁₅. Each input terminal of the scrambler 410 p is selectively connected to an output terminal according to either a random algorithm or a “barrel-shift” algorithm. In the random algorithm, each thermometric bit p_(o)-p₁₅ is transferred to an output terminal selected in a pseudo-random way. Conversely, in the barrel-shift algorithm the output terminals receive the thermometric bits p_(o)-p₁₅ at 1 along a wrap-around circular list; for example, the correction value Nc=+7 causes the setting of the scrambled bits sp₀-sp₆, the next correction value Nc=+11 causes the setting of the scrambled bits sp₇-sp₁₅,sp₀-sp₁, the further next correction value Nc=+4 causes the setting of the scrambled bits sp₂-sp₅, and so on. Each scrambled bit sp₀-sp₁₅ (from the scrambler 410 p) drives a corresponding single-bit DAC 415 p ₀-415 p ₁₅. The output terminals of all the single-bit DACs 415 p ₀-415 p ₁₅ are connected to a common node, so as to inject a current Icp into an output terminal of the servo-DAC 130.

Conversely, if the correction value Nc is negative the corresponding thermometric bits representing its module (denoted with n_(o)-n₁₅) are provided to a further scrambler 410 n. The scrambler 410 n (implementing either the random algorithm or the “barrel-shift” algorithm) outputs corresponding scrambled bits sn₀-sn₁₅. Each scrambled bit sn₀-sn₁₅ drives a respective single-bit DAC 415 n ₀-415 n ₁₅. The output terminals of all the single-bit DACs 415 n ₀-415 n ₁₅ are connected to a common node, so as to sink a current Icn from the output terminal of the servo-DAC 130.

The conditioning current Ic alternatively corresponds to the current Icp (when the correction value Nc is positive) or to the current Icn (when the correction value Nc is negative). In this way, the conditioning current Ic is generated summing the currents delivered by the single-bit DACs 415 p ₀-415 p ₁₅ or 415 n ₀-415 n ₁₅, which exhibit a high linearity. Moreover, when the scramblers 410 p, 410 n implement the random algorithm the single-bit DACs 415 p ₀-415 p ₁₅, 415 n ₀-415 n ₁₅ are statistically actuated with an even frequency; conversely, when the scramblers 410 p, 410 n implement the barrel-shift algorithm the single-bit DACs 415 p ₀-415 p ₁₅, 415 n ₀-415 n ₁₅ are actuated in succession. In both cases, any periodic effect in the conditioning current Ic (caused by the mismatching of the single-bit DACs 415 p ₀-415 p ₁₅, 415 n ₀-415 n ₁₅) is substantially limited. As a result, the power of the spurs near the carrier is strongly reduced.

However, the concepts of an embodiment of the present invention are also applicable when the servo-DAC has another architecture or includes equivalent components; similar considerations apply if different thermometric representations and/or scrambling algorithms are employed. Alternatively, the servo-DAC only includes a single path (either for the positive correction values or for the negative correction values), the two paths share some blocks (for example, the scrambler). Moreover, alternative techniques can be used to improve the linearity of the servo-DAC.

More generally, an embodiment of the present invention proposes a fractional-type phase-locked loop circuit, which is used for synthesising an output signal multiplying a frequency of a reference signal by a fractional conversion factor. The circuit includes means for generating a modulation value. A feedback signal is generated dividing the frequency of the output signal by a dividing ratio; the dividing ratio is modulated according to the modulation value, in order to provide the conversion factor on the average. Means are further provided for generating a control signal, which is indicative of a phase difference between the reference signal and the feedback signal. The frequency of the output signal is controlled according to the control signal. The circuit also includes means for compensating a phase error caused by the modulation of the dividing ratio. In the solution of an embodiment of the invention, the means for compensating includes means for calculating an incremental value (indicative of an incremental phase error) according to the conversion factor and the modulation value. A correction value is calculated accumulating the incremental value. The control signal is then conditioned according to the correction value.

The solution of an embodiment of the invention allows compensating the effects of the phase error (between the feedback signal and the reference signal) even in architectures wherein the value of the phase error is not available in any accumulator.

As a consequence, the spurs caused by the phase error are strongly reduced.

This result is achieved without giving up the improved shaping in the pattern of the dividing ratio, which is provided by sophisticated modulation techniques.

The preferred embodiment of the invention described above offers further advantages.

Particularly, the devised solution is specifically designed for a PLL implemented with a sigma-delta modulator of the second or higher order.

Preferably, the modulator is of a multi-bit type.

In both cases, the overall performance of the PLL is strongly improved.

However, the solution of an embodiment of the present invention is also suitable to be implemented in a PLL including a sigma-delta modulator of the first order, a modulator that is not of the sigma-delta type, a single-bit modulator, or more generally any other equivalent means for modulating the dividing ratio.

A suggested choice for calculating the correction value is to accumulate an incremental value calculated according to the proposed formula; the accumulated value is then scaled according to the modulus M and the conversion factor (for example, by MN).

This implementation is very simple, but at the same time effective.

Alternatively, the accumulated value is scaled further according to a mean value of the adjusting value K (i.e., dividing the accumulated value by MN+M/2), or the correct formula is applied also taking into account the current adjusting value K (and then dividing the accumulated value by MN+K).

A way to further improve the solution is to convert the representation of the correction value into a thermometric code.

The proposed feature allows generating the conditioning current with multiple DACs having a reduced resolution, and then an improved linearity.

As a further enhancement, each DAC is of the single-bit type.

In this way, the overall linearity of the servo-DAC is improved as much as possible.

However, the solution according to an embodiment of the present invention is also suitable to be implemented using a thermometric code representing the correction value with non-binary digits (with corresponding DACs at more than two levels), or even without any conversion of the correction value.

In a preferred embodiment of the invention, two sets of single-bit DACs are provided (a first one for positive correction values and a second one for negative correction values).

The proposed structure makes it possible to exploit the above-mentioned advantages also in a PLL including a multi-bit modulator (wherein the phase error can be either positive or negative).

Advantageously, the thermometric bits representing the correction value are scrambled.

A devised solution strongly reduces any periodic effect in the conditioning current.

A suggested choice for implementing the scrambling consists of using a random algorithm or a barrel shift algorithm.

In both cases, the power of the spurs near the carrier is strongly reduced.

However, the control logic of an embodiment of the present invention lends itself to be implemented with only one set of single-bit DACs (when the correction value is always positive or negative), with a different scrambling algorithm, or even without any scrambling of the thermometric bits of the correction value.

Vice-versa, it should be noted that the proposed structure of the servo-DAC (with the conversion of the correction value into the thermometric representation, and possibly with the scrambling of the thermometric bits) is suitable to be used independently of the proposed compensation schema. For example, these additional features can be implemented (either alone or in combination) even in a PLL with a standard accumulator.

The circuit 100 may be part of an electronic system, such as, for example, a computer system or wireless communication device.

Naturally, in order to satisfy local and specific requirements, a person skilled in the art may apply to the solution described above many modifications and alterations all of which, however, are included within the scope of protection of an embodiment of the invention. 

1-10. (canceled)
 11. A circuit for compensating for a phase error between first and second signals, comprising: a control circuit operable to receive a first data set, the control circuit further operable to produce a phase-error value from the first data set, the control circuit further operable to produce a second data set from the phase-error value; and a generator coupled to the control circuit, the generator operable to generate a compensation signal corresponding to the second data set.
 12. The circuit of claim 11 wherein the first data set comprises a modulation value operable to modulate a phase-locked-loop frequency divider.
 13. The circuit of claim 11 wherein the control circuit comprises a first modifier operable to convert the first data set into a third data set.
 14. The circuit of claim 13 wherein the control circuit further comprises a second modifier coupled to the first modifier, the second modifier operable to convert the third data set into the phase-error value.
 15. The circuit of claim 14 wherein the control circuit further comprises a third modifier coupled to the second modifier, the third modifier operable to convert the phase-error value into the second data set.
 16. The circuit of claim 11 wherein the generator comprises a first modifier operable to convert the second data set into a third data set.
 17. The circuit of claim 16 wherein the generator further comprises a second modifier coupled to the first modifier, the second modifier operable to convert the third data set into a fourth data set.
 18. The circuit of claim 17 wherein the generator further comprises a third modifier coupled to the second modifier, the third modifier operable to convert the fourth data set into the compensation signal.
 19. A method of compensating for a phase error between first and second signals, comprising: producing a phase-error value from a first data set; producing a second data set from the phase-error value; and generating a compensation signal corresponding to the second data set.
 20. The method of claim 19 wherein the first data set comprises a modulation value operable to modulate a phase-locked-loop frequency divider.
 21. The method of claim 19 wherein producing a phase-error value comprises: convert the first data set into a third data set; and converting the third data set into the phase-error value.
 22. The method of claim 19 wherein generating a compensation signal comprises: converting the second data set into a third data set; converting the third data set into a fourth data set; and converting the fourth data set into the compensation signal.
 23. A phase-locked loop, comprising: a circuit operable to introduce a phase error between first and second signals; a control circuit operable to receive a first data set, the control circuit further operable to produce a phase-error value from the first data set, the control circuit further operable to produce a second data set from the phase-error value; and a generator coupled to the control circuit, the generator operable to generate a compensation signal corresponding to the second data set.
 24. An electronic system, comprising: a circuit for compensating for a phase error between first and second signals, comprising: a control circuit operable to receive a first data set, the control circuit further operable to produce a phase-error value from the first data set, the control circuit further operable to produce a second data set from the phase-error value; and a generator coupled to the control circuit, the generator operable to generate a compensation signal corresponding to the second data set.
 25. A phase-locked loop, comprising: a phase-frequency detector operable to generate a phase-error signal based on a comparison of a reference signal and a feedback signal; a control circuit coupled to the phase-frequency detector and operable to generate a digital conditioning signal based on a modulation value and the feedback signal; and a generator coupled to the control circuit and the phase-frequency detector and operable to receive a control signal to generate an output signal, the control signal based on a summation of the phase-error signal and an analog conversion of the digital conditioning signal; wherein the feedback signal comprises a signal having a frequency of the output signal divided by a dividing ratio, the dividing ratio being modulated according to the modulation value.
 26. The phase-locked loop of claim 25, further comprising a filter coupled to the generator and operable to filter the control signal before the control signal is received by the generator.
 27. The phase-locked loop of claim 25, further comprising a multi-modulus frequency divider coupled to the phase-frequency detector and operable to modify the feedback signal based on the modulation value.
 28. The phase-locked loop of claim 25, wherein the generator comprises a sigma-delta modulator having an order at least equal to two.
 29. The phase-locked loop of claim 25, wherein the generator comprises a multi-bit modulator.
 30. The phase-locked loop of claim 25, wherein the control circuit is further operable to convert a representation of the conditioning signal into a thermometric code consisting of a plurality of thermometric digits of even weight, such that a plurality of digital-to-analog converters coupled to the control circuit respectively correspond to one thermometric digit.
 31. The phase-locked loop of claim 30, wherein each thermometric digit comprises one thermometric bit, each digital-to-analog converter comprises a single-bit converter.
 32. The phase-locked loop of claim 30, wherein the conditioning signal comprises a signed value.
 33. The phase-locked loop of claim 32, wherein the digital-to-analog converters further comprise a first plurality of single-bit converters each one for a corresponding thermometric bit representing a module of the conditioning signal when positive and a second plurality of single-bit converters each one for a corresponding thermometric bit representing the module of the correction value when negative. digits according to a random algorithm or a barrel shift algorithm.
 34. An electronic system, comprising: a phase-locked loop, comprising: a phase-frequency detector operable to generate a phase-error signal based on a comparison of a reference signal and a feedback signal; a control circuit coupled to the phase-frequency detector and operable to generate a digital conditioning signal based on a modulation value and the feedback signal; and a generator coupled to the control circuit and the phase-frequency detector and operable to receive a control signal to generate an output signal, the control signal based on a summation of the phase-error signal and analog conversion of the digital conditioning signal; wherein the feedback signal comprises a signal having a frequency of the output signal divided by a dividing ratio, the dividing ratio being modulated according to the modulation value. 